<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>安全信息</title>
<link type="image/x-icon" rel="shortcut icon" href="/images/user/favicon.png" >
<link type="text/css" href="/css/user/users/safety_information.css" rel="stylesheet"/>
<link type="text/css" rel="stylesheet" href="/css/dialog.min.css">
<script type="text/javascript" src="/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="/js/dialog.min.js"></script>
<script type="text/javascript" src="/js/bstdialog.min.js"></script>
<script type="text/javascript" src="/js/user/users/member_center/member_information/member_information.js"></script>	
<script type="text/javascript" src="/js/user/users/member_center/menu_line.js"></script>
<script type="text/javascript" src="/js/user/users/member_center/member_information/safety_information.js"></script>
<script type="text/javascript" src="/js/user/users/member_center/member_information/basic_info.js"></script>
</head>
<body>
<div class="Wrapper">
	<!--会员中心头部-->
<jsp:include page="../../../common/member/memberHeader.jsp"></jsp:include>
     <!--会员中心头部-->
    <!--会员中心中间部分-->
    <div class="uc_bd mt20 mb20 ">
    <input type="hidden" value="${userInfo.userTel}" id="userTel"/>
    <input type="hidden" value="${userInfo.userEmail}" id="userEmail"/>
    <input type="hidden" value="${userInfo.boundTel}" id="boundTel"/>
    <input type="hidden" value="${userInfo.boundEmail}" id="boundEmail"/>
    <input type="hidden" value="${loginWay}" id="loginWay"/>
    	<div class="uc_layer">
            <div class="account">
                <!--会员信息左侧-->
                <jsp:include page="../../../common/member/member_information/left.jsp"></jsp:include>
            	<!--会员信息左侧-->
                <!--基本资料右侧-->
                <div class="member_r fr">
                	<div class="uitopb uitopb_border">
                    	<div class="lm-t tabs">安全信息</div>
                        <div class="uc_content order">
                        	<!--我的账户-->
                        	<div class="my_account accounts"> 
                        		<a href="#" class="account_avatar fl"><img src="/images/user/users/membercenter/default_avatar.jpg" width="70" height="70" /></a>
        	        			<div class="account_info fl">
                                	<span id="userAccount">账号：<c:if test="${loginWay=='email'}">${userInfo.userEmail}</c:if>
            						<c:if test="${loginWay=='tel'}">${userInfo.userTel}</c:if><span>上次登录：<fmt:formatDate value="${userInfo.lastLoginTime}" pattern="yyyy-MM-dd HH:mm:ss"/></span>
            						<c:if test="${identify == 0 }">
            							（<font color="#ff6600">未实名认证</font>，<a href="/user/userCenter/realnameAuthentication"  style="color:#0099cc">点击认证</a>）
            						</c:if>
            						<c:if test="${identify == 1 }">
            							（<font color="#ff6600">认证审核中</font>，<a href="/user/userCenter/realnameAuthentication"  style="color:#0099cc">点击查看</a>）
            						</c:if>
            						<c:if test="${identify == 2 }">
            							（<font color="#ff6600">实名认证失败</font>，<a href="/user/userCenter/realnameAuthentication"  style="color:#0099cc">点击重新认证</a>）
            						</c:if>
            						<c:if test="${identify == 3 }">
            							（<font color="#ff6600">已实名认证</font>，<a href="/user/userCenter/realnameAuthentication"  style="color:#0099cc">点击查看</a>）
            						</c:if>
                                    </span>
                                </div>
                                <div class="clear"></div>
                        	</div>
                            <!--我的账户结束-->
                            <!--安全级别-->
                            <div class="secure pt10 pb10">
                            	<div class="secure_level mb10">
                                	<span class="fl">您账户的安全级别</span>
                                    <c:choose>
                                    	<c:when test="${level == 0 }"><span class="bar bar_weak fl ml20"></span></c:when>
                                    	<c:when test="${level == 1 }"><span class="bar bar_in ml20 fl" ></span></c:when>
                                    	<c:otherwise><span class="bar bar_strong ml20 fl"></span></c:otherwise>
                                    </c:choose>
                                    <div class="clear"></div>
                                </div>
                                <p>您可以通过以下设置增加账户安全级别</p>
                            </div>
                            <!--安全级别结束-->
                            <!--信息设置开始-->
                            <ul class="secure_status">
                            	<li>
                                	<h2 class="useraction_title fl">登录密码</h2>
                                    <div class="status fr">
                                    	<span class="finished ml60 fl">已设置</span>
                                        <a href="/user/userCenter/updateMemberPwd" class="modify ml20">修改</a>
                                    </div>
                                    <span class="desc">安全性高的密码可以使账号更安全，建议定期更换密码，设置一个包含字，符号或数字中至少两项且长度超过8位的密码。</span>
                                </li>
                                <li>
                                	<h2 class="useraction_title fl" >手机绑定</h2>
                                    <div class="status fr" id="unBoundTel">
                                    	<span class="unfinished ml60 fl">未设置</span>
                                        <a href="/user/userCenter/boundTel/telSet" class="modify ml20">设置</a>
                                    </div>
                                    <div class="status fr" style="display:none" id="noRegTel">
                                    	<span class="finished ml10 fl">已绑定</span>
                                        <a href="/user/userCenter/boundTel/telChange" class="modify ml20">更换</a>
                                        <a href="/user/userCenter/boundEmail/unBoundTel" class="modify ml20">解绑</a>
                                    </div>
                                    <div class="status fr" style="display:none" id="regTel">
                                    	<span class="finished ml10 fl">已绑定</span>
                                        <a href="/user/userCenter/boundTel/telChange" class="modify ml20">更换</a>
                                    </div>
                                    <span class="desc">如果你还未绑定手机号，建议您可以设置绑定，方便找回密码。</span>
                                </li>
                                <li class="last">
                                	<h2 class="useraction_title fl">邮箱绑定</h2>
                                	<div class="status fr" id="unBoundEmail">
                                    	<span class="unfinished ml60 fl">未设置</span>
                                        <a href="/user/userCenter/boundEmail/emailSet" class="modify ml20">设置</a>
                                    </div>
                                    <div class="status fr" style="display:none" id="noRegEmail">
                                    	<span class="finished ml10 fl">已绑定</span>
                                        <a href="/user/userCenter/boundEmail/emailChange" class="modify ml20">更换</a>
                                        <a href="/user/userCenter/boundTel/unBoundEmail;" class="modify ml20">解绑</a>
                                    </div>
                                    <div class="status fr" style="display:none" id="regEmail">
                                    	<span class="finished ml10 fl">已绑定</span>
                                        <a href="/user/userCenter/boundEmail/emailChange" class="modify ml20">更换</a>
                                    </div>
                                    <span class="desc">如果你还未绑定邮箱，建议您可以设置绑定，方便找回密码。</span>
                                </li>
                                <!-- <li class="last">
                                	<h2 class="useraction_title fl">密保设置</h2>
                                    <div class="status fr">
                                    	<span class="unfinished ml60 fl">未设置</span>
                                        <a href="javascript:void(0)" class="modify ml20">设置</a>
                                    </div>
                                    <span class="desc">是您找回登录密码的方式之一。建议您设置三个容易记住，且最不容易被他人获取的问题及答案，更有效保障您的密码安全。</span>
                                </li> -->
                            </ul>
                            <!--信息设置结束-->
                            <div class="clear"></div>
                      	</div>
                    </div>
                </div>
                <!--会员中心右侧-->
                <div class="cl"></div>
			</div>
      	</div>
    </div>
    <!--会员中心中间部分-->
    <!---------------------------------footer------------------------------------>
  	<jsp:include page="../../../common/footer.jsp"/>
  	<!---------------------------------footer结束------------------------------------>
</div>
</body>
</html>
